﻿<%@ Page Title="站点配置" Language="C#" MasterPageFile="Function.Master" AutoEventWireup="true" ValidateRequest="false" CodeBehind="SiteConfig.aspx.cs" Inherits="LEARNREN.COM.WebSite.Admin.SiteConfigManager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form class="ui-widget" style="color: #222;" runat="server" defaultbutton="btnSaveSiteConfig">
    <fieldset class="register"><legend>站点信息</legend>
        <div class="editblock">
            <asp:Label ID="SiteNameLabel" runat="server" AssociatedControlID="SiteName">站点名称:</asp:Label>
            <asp:TextBox ID="SiteName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="SiteNameRequired" runat="server" ControlToValidate="SiteName" CssClass="failureNotification" ErrorMessage="必须填写“站点名称”。" ToolTip="站点名称" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="editblock">
            <asp:Label ID="SiteUrlLabel" runat="server" AssociatedControlID="TextBoxSiteUrl">站点URL:</asp:Label>
            <asp:TextBox ID="TextBoxSiteUrl" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="TextBoxSiteUrlRequired" runat="server" ControlToValidate="TextBoxSiteUrl" CssClass="failureNotification" ErrorMessage="必须填写“站点地址”。" ToolTip="站点地址" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="clear">
        </div>
        <div class="editblock">
            <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="KeyWords">关键词:</asp:Label>
            <asp:TextBox ID="KeyWords" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="KeyWords" CssClass="failureNotification" ErrorMessage="必须填写“关键词”。" ToolTip="必须填写“关键词”。" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="editblock">
            <asp:Label ID="IsStaticEnableLabel" runat="server" AssociatedControlID="IsStaticEnable">站点静态化:</asp:Label>
            <asp:CheckBox runat="server" ID="IsStaticEnable" Style="display: block; padding-top: 5px;" />
        </div>
        <div class="clear">
        </div>
        <div class="editblock">
            <asp:Label ID="AdminMailLabel" runat="server" AssociatedControlID="AdminMail">管理员信箱:</asp:Label>
            <asp:TextBox ID="AdminMail" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="AdminMailRequired" runat="server" ControlToValidate="AdminMail" CssClass="failureNotification" ErrorMessage="必须填写“管理员信箱”。" ToolTip="必须填写“管理员信箱”。" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="editblock">
            <asp:Label ID="AdminMobileLabel" runat="server" AssociatedControlID="AdminMobile">管理员手机:</asp:Label>
            <asp:TextBox ID="AdminMobile" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="AdminMobileRequired" runat="server" ControlToValidate="AdminMobile" CssClass="failureNotification" ErrorMessage="必须填写“管理员手机”。" ToolTip="必须填写“管理员手机”。" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="clear">
        </div>
        <div class="editblock">
            <asp:Label ID="SummaryLabel" runat="server" AssociatedControlID="Summary">站点描述:</asp:Label>
            <asp:TextBox ID="Summary" runat="server" TextMode="MultiLine" Rows="10"></asp:TextBox>
            <asp:RequiredFieldValidator ID="SummaryRequired" runat="server" ControlToValidate="Summary" CssClass="failureNotification" ErrorMessage="必须填写“站点描述”。" ToolTip="必须填写“站点描述”。" ValidationGroup="SiteConfigValidationGroup">*</asp:RequiredFieldValidator>
        </div>
        <div class="clear">
        </div>
        <div class="editblock">
            <asp:Label ID="LabelCopyRight" runat="server" AssociatedControlID="CopyRight">版权信息:</asp:Label>
            <asp:TextBox ID="CopyRight" runat="server" TextMode="MultiLine" Rows="10"></asp:TextBox>
        </div>
    </fieldset>
    <div class="editblock submitButton">
        <asp:Button ID="btnSaveSiteConfig" runat="server" CommandName="MoveNext" Text="保存设置" ValidationGroup="SiteConfigValidationGroup" OnClick="SaveSiteConfig_Click" />
    </div>
    </form>
</asp:Content>
